package com.ogawa.project6602.service

import com.ogawa.base.base.BaseResponseBean
import com.ogawa.base.bean.MqttAccountBean
import com.ogawa.project6602.bean.MusicResponse
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query

interface MusicApiService {
//    /**
//     * 获取MQTT账号密码
//     */
//    @GET("/api/app/v1/music")
//    suspend fun getMqttAccount(@Path("sn") sn: String?): BaseResponseBean<MqttAccountBean>


    /**
     * 音乐 - 获取音乐
     */
    @GET("/api/app/v1/music")
    suspend fun getDeviceStatus(
        @Query("categoryCode") categoryCode: String,
        @Query("musicName") musicName: String
    ): BaseResponseBean<List<MusicResponse>>

}